package com.ns002.yigou.quote.exception;


import com.ns002.yigou.quote.globals.ResultStatus;

/**
 * Created by xu on 2016/12/14.
 * 程序异常
 */
public class ApplicationException extends Exception {

    /**
     * 程序异常时返回客户端的提示数据
     */
    private ResultStatus resultStatus = ResultStatus.ERROR;

    public ResultStatus getResultStatus() {
        return resultStatus;
    }

    public void setResultStatus(ResultStatus resultStatus) {
        this.resultStatus = resultStatus;
    }
}
